<!DOCTYPE html>
<html>
<head>
<title>人员管理</title>
<jsp:include page="../../include/header.jsp" />
</head>
<body class="">
<div class="form-horizontal" id="employeeEditForm">
<div class="breadcrumb">
	<a class="btn btn-success btn-small" href="base/employee/employee!preUpdate.action?id=${employee.id}">编辑</a>
	<a class="btn btn-success btn-small" href="base/employee/employee.action">返回人员列表</a>
</div>
<c:if test="${message!=null}">
<div class="alert alert-success">
    <i class="icon-info-sign icon-large"></i>
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    ${message}
</div>
</c:if>
<div class="row-fluid">
<div class="span5">
    <div class="control-group">
        <label class="control-label">系统帐号</label>
        <div class="controls">
            ${employee.account}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">帐号状态</label>
        <div class="controls">
        	${employee.accountStatus}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">姓名</label>
        <div class="controls">
           ${employee.name}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">工号</label>
        <div class="controls">
            ${employee.code}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">英文名</label>
        <div class="controls">
            ${employee.englishName}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">性别</label>
        <div class="controls">
        	${employee.sex.description}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">邮箱</label>
        <div class="controls">
            ${employee.email}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">即时通讯帐号</label>
        <div class="controls">
            ${employee.im}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">头像</label>
        <div class="controls">
        	头像占位符
        </div>
    </div>
</div>
<div class="span7">
    <div class="control-group">
        <label class="control-label">办公地点</label>
        <div class="controls">
            ${employee.office}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">手机</label>
        <div class="controls">
            ${employee.mobile}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">电话</label>
        <div class="controls">
            ${employee.telephone}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">传真</label>
        <div class="controls">
            ${employee.fax}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">部门</label>
        <div class="controls">
        	部门占位符
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">直接上司</label>
        <div class="controls">
        	<c:choose>
        		<c:when test="${employee.manager ne null}">
        		${employee.manger.name}
        		</c:when>
        		<c:otherwise>
        		
        		</c:otherwise>
        	</c:choose>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">岗位</label>
        <div class="controls">
        	<c:choose>
        		<c:when test="${employee.position ne null}">
        		${employee.position.name}
        		</c:when>
        		<c:otherwise>
        		
        		</c:otherwise>
        	</c:choose>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">安全级别</label>
        <div class="controls">
            ${employee.secLevel}
        </div>
    </div>
</div>
</div>
</div>
</body>
</html>